﻿using System.Collections.Generic;

namespace CleanArchitecture.Infrastructure.Models.AdminUsers
{
    /// <summary>
    /// Sitemap node
    /// </summary>
    public class NaviMenuNode
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="NaviMenuNode"/> class.
        /// </summary>
        public NaviMenuNode()
        {
            ChildNodes = new List<NaviMenuNode>();
        }

        public int NodeId { get; set; }

        public int MenuType { get; set; }

        public int NodeParentId { get; set; }
        /// <summary>
        /// Gets or sets the NaviMenu Title.
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the icon class (Font Awesome: http://fontawesome.io/)
        /// </summary>
        public string IconCssClass { get; set; }

        /// <summary>
        /// Gets or sets the IconText
        /// </summary>
        public string IconText { get; set; }

        /// <summary>
        /// Gets or sets the URL.
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// Gets or sets a value indicating whether has a child menu to spread
        /// </summary>
        public bool Spread { get; set; }

        public bool Target { get; set; }

        /// <summary>
        /// Gets or sets the child nodes.
        /// </summary>
        public IList<NaviMenuNode> ChildNodes { get; set; }
    }
}
